// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import flexible from '@/assets/flexible.js'
import axios from 'axios'
import 'lib-flexible'
Vue.config.productionTip = false
axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded';

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  render: h => h(App)
})

import qs from 'qs'
Vue.prototype.$qs = qs

import element from './element/index'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(element)

import infiniteScroll from "vue-infinite-scroll";
 Vue.use(infiniteScroll);